﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using QLNS_v1.Bus;

namespace QLNS_v1.Form
{
    public partial class uclNhanVien : DevExpress.XtraEditors.XtraUserControl
    {
        NhanVien_Bus nvb = new NhanVien_Bus();
        public uclNhanVien()
        {
            InitializeComponent();
        }

        private void uclNhanVien_Load(object sender, EventArgs e)
        {
            gridControl1.DataSource = nvb.ListNhanVien();
        }

    }
}
